package com.maiji.cloud.response.login;

import com.maiji.cloud.entities.shopingmall.CapitalMain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.util.Date;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class AppUserResData {

    @ApiModelProperty(value="用户ID")
    private String uuId;

    @ApiModelProperty(value="注册手机号")
    private String tel;

    @ApiModelProperty(value="微信ID")
    private String openId;

    @ApiModelProperty(value="QQID")
    private String qqId;

    @ApiModelProperty(value="微博ID")
    private String wbId;

    @ApiModelProperty(value="密码")
    private String pwd;

    @ApiModelProperty(value="身份令牌")
    private String token;

    @ApiModelProperty(value="token是否失效：1有效，0失效")
    private Integer tokenStatus;

    @ApiModelProperty(value="注册日期")
    private Date regDate;

    @ApiModelProperty(value="注册地区ID")
    private String areaId;

    @ApiModelProperty(value="下级数量")
    private Integer pidCount;

    @ApiModelProperty(value="下下级数量")
    private Integer ppidCount;

    @ApiModelProperty(value="分销码")
    private String distributionNum;

    @ApiModelProperty(value="上级ID")
    private String pid;

    @ApiModelProperty(value="旗下的用户下单分红比例")
    private Double ratio; 

    @ApiModelProperty(value="与上级用户代理关系到期时间")
    private Date endTime;

    @ApiModelProperty(value="0正常，1：代理资格取消")
    private Integer isCancel;

    @ApiModelProperty(value="是否禁用")
    private Integer isBan; //

    @ApiModelProperty(value="用户信息")
    private UserInfoResData userInfo;

    @ApiModelProperty(value="用户资金账户信息")
    private CapitalMain capitalMain;

}
